﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace WsProtocol.IEC62056.ClientApdu.CosemACSE
{
    class ACSE_Access
    {
      
        //Access-Request ::= SEQUENCE
        //{
        //long-invoke-id-and-priority Long-Invoke-Id-And-Priority,
        //date-time OCTET STRING,
        //access-request-body Access-Request-Body
        //}         
        public static string Request(CosemObject OI, ref string errorinfo)
        {
            return string.Empty;
        }

        //Access-Response ::= SEQUENCE
        //{
        //long-invoke-id-and-priority Long-Invoke-Id-And-Priority,
        //date-time OCTET STRING,
        //access-response-body Access-Response-Body
        public static int Response(ref string frameData, CosemObject OI, ref string errorinfo)
        {
            int iResult = 0;

            return iResult;
        }
    }
    
}
